package com.bringway.global.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.global.dao.SysLogDao;
import com.bringway.global.service.SysLogService;

/*
* @author 作者 xuef
* @version 创建时间：2016年1月22日 上午9:07:24
* 类说明
*/
@Service
@Transactional
public class SysLogServiceImpl implements SysLogService {
	
	@Autowired
	private SysLogDao sysLogDao;

	@Override
	public void insertLoginLog(String username) {
		sysLogDao.insertLoginLog(username);
	}

	@Override
	public void insertExceptionLog(String username, String title,  Exception e) {
		sysLogDao.insertExceptionLog(username, title, e);
	}
	
	

}
